import {createRouter, createWebHistory} from 'vue-router';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    // push
    {
      path: '/push-str',
      component: () => import('@/views/push/PushStr.vue')
    },
    {
      path: '/push-path/:params',
      component: () => import('@/views/push/PushPath.vue')
    },
    {
      path: '/push-name/:params/:repeat*',
      name: 'PushName',
      component: () => import('@/views/push/PushName.vue')
    },
    
    //go
    {
      path: '/go-step1',
      component: () => import('@/views/go/GoStep1.vue')
    },
    {
      path: '/go-step2',
      component: () => import('@/views/go/GoStep2.vue')
    },
    {
      path: '/go-step3',
      component: () => import('@/views/go/GoStep3.vue')
    },
    {
      path: '/go-step4',
      component: () => import('@/views/go/GoStep4.vue')
    },
    {
      path: '/go-step5',
      component: () => import('@/views/go/GoStep5.vue')
    },
  ]
});

export default router;
